<?php

use yii\helpers\Html;
use yii\web\Request;
use backend\components\widget\ztree\ZtreeWidget;
/* @var $this yii\web\View */
/* @var $model backend\module\content\models\Article */
if (!Yii::$app->request->isAjax) {
    $this->title = Yii::t('common', 'Create');
    $this->params['breadcrumbs'][] = $this->title;
}
?>
<div class="col-lg-2">
    <?=
    ZtreeWidget::widget([
        'data' => $ztreeNode,
    ]);
    ?>
</div>
<div class="article-create col-lg-10">
    <?= $this->render('_form', [
        'model' => $model,
    ]) ?>
</div>
